package com.jerry.wschat.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Jerry.Wu
 * @description:
 * @date 2018/9/12 19:37
 */
@Data
@Table(name = "t_admin")
@Entity
public class Admin extends IdEntity{

    private static final long serialVersionUID = 1L;

    @Column(unique = true)
    private String username;

    private String password;

    private String nickname;

    private String avatar;

    private Integer sex;

    private Integer age;

    private String email;

    private Boolean enabled;

}
